package com.hkts.naturalgas.base.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.hkts.naturalgas.base.entity.CalcinationPurificationBleaching;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hkts.naturalgas.model.ResultData;

import java.time.LocalDateTime;
import java.util.List;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author yck
 * @since 2021-05-31
 */
public interface ICalcinationPurificationBleachingService extends IService<CalcinationPurificationBleaching> {

    /**
     * 分页查询
     *
     * @param bootStrapTable
     * @param calcinationPurificationBleaching
     * @return
     */
    IPage<CalcinationPurificationBleaching> selectPage(Page<CalcinationPurificationBleaching> page, CalcinationPurificationBleaching calcinationPurificationBleaching);

    List<CalcinationPurificationBleaching> selectList(CalcinationPurificationBleaching calcinationPurificationBleaching);

        IPage<CalcinationPurificationBleaching> selectPageByTime(Page<CalcinationPurificationBleaching> page, String startDate, String endDate);

    void importByFiles(List<CalcinationPurificationBleaching> list);


    IPage<CalcinationPurificationBleaching> getBrokenLineGraph(Page<CalcinationPurificationBleaching> page, String startDate, String endDate);

    CalcinationPurificationBleaching selectByTime(LocalDateTime toLocalDateTime);


    List<CalcinationPurificationBleaching> selectByTimes(LocalDateTime localDateTime, LocalDateTime localDateTime1);
    void deleteAll(List<String> collect);
}